package com.managedbean;



import javax.enterprise.context.SessionScoped;
import javax.inject.Named;
import java.io.Serializable;
@Named
@SessionScoped
public class DesktopMBean implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -8540560314342596744L;
	private String page;

	/**
	 * @return the page
	 */
	public String getPage() {
		return page;
	}

	/**
	 * @param page the page to set
	 */
	public void setPage(String page) {
		this.page = page;
	}

	public DesktopMBean() {
		//page="/desktop/info.xhtml";
	//	page="/desktop/userGestion.xhtml";
	}
	public void showUsersGestion(){
		page="/desktop/userGestion.xhtml";
		
	}
	public void showInfo(){
		
	}
	private void  showInscription() {
		page="/desktop/userInscription.xhtml";
	}

}
